package com.sixfoot.dao;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.sixfoot.domain.Organization;

public interface OrganizationRepository  extends PagingAndSortingRepository<Organization, String> {
	
	List<Organization> findByParent(Organization organization);

	Organization findByName(String name);
}
